//
//  TKIMRefreshFooterView.h
//  TKIM_首创
//
//  Created by macpro on 15/12/14.
//  Copyright © 2015年 liupm. All rights reserved.
//

#import <Foundation/Foundation.h>

@class TKIMRefreshFooterView;
/**
 *  加载更多回调
 *
 *  @param refreshFooterView
 */
typedef void(^RefreshFooterViewBeginLoadMoreBlock)(TKIMRefreshFooterView *refreshFooterView);

@interface TKIMRefreshFooterView : UIView

/**无更多数据时的提示文字*/
@property (nonatomic,weak) UILabel * textLabel;
/**是否有更多数据*/
@property (nonatomic, assign)BOOL haveMoreData;

- (instancetype)initWithScrollView:(UIScrollView *)scrollView beginLoadMoreBlock:(RefreshFooterViewBeginLoadMoreBlock)block;

/**
 *  停止刷新
 */
- (void)endRefresh;

@end
